package com.longjianghuasheng.logistics.business.wallet

import androidx.lifecycle.MutableLiveData
import com.longjianghuasheng.logistics.base.BaseMultiStateViewModel
import com.longjianghuasheng.logistics.entity.WalletResponse
import com.longjianghuasheng.logistics.network.apiService

class WalletViewModel : BaseMultiStateViewModel() {
    val result by lazy {
        MutableLiveData<WalletResponse>()
    }

    fun my_wallet() {
        getData2({ apiService.my_wallet() }, result)
    }
}